package com.tree.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tree.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> QueryAllMenus();

    void addNodes(Menu menu);

    void deleteNodes(String id);

    void updateNodes(String id,String title);
}
